/*
*Copyright (c) Nikhil Jain.
*Project ICARUS, communications and 
*artificial intelligence.
*/



/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
 */
package javadrone.remotepackage;

//~--- non-JDK imports --------------------------------------------------------

import simbad.sim.EnvironmentDescription;
import simbad.sim.Wall;

//~--- JDK imports ------------------------------------------------------------

import java.io.Serializable;

import javax.vecmath.Vector3d;

/**
 *
 * @author Nikzzay
 */
public class RemoteWall implements Serializable {
    final static float thickness = 0.3f;
    public float       length, width, height;
    public Vector3d    pos;

    public RemoteWall(Vector3d pos, float length, float height) {
        this.pos    = pos;
        this.length = length;
        this.width  = thickness;
        this.height = height;
    }

    public RemoteWall(Vector3d pos, float length, float width, float height) {
        this.pos    = pos;
        this.length = length;
        this.width  = width;
        this.height = height;
    }

    public Wall build(EnvironmentDescription ed) {
        return new Wall(pos, length, width, height, ed);
    }
}


//~ Formatted by Jindent --- http://www.jindent.com
